Common BOSH Commands

Installing BOSH

curl -s https://raw.githubusercontent.com/cloudfoundry-community/traveling-bosh/master/scripts/installer | sudo bash

Common BOSH Commands

Login to a BOSH Director $ bosh target 10.202.75.8 Target set to prod-microbosh' Your username: admin Enter password: ******************** Logged in asadmin' Show Health Statistics of VMs managed by BOSH $ bosh vms --vitals Show current BOSH Deployments $ bosh deployments

+----------------------------+--------------------------+--------------------------------------------+ | Name | Release(s) | Stemcell(s) | +----------------------------+--------------------------+--------------------------------------------+ | bosh | bosh/150 | bosh-aws-xen-ubuntu-trusty-go_agent/2865 | +----------------------------+--------------------------+--------------------------------------------+ | cf-r4-logsearch | logsearch/18 | bosh-aws-xen-ubuntu-trusty-go_agent/2855 | | | route-registrar/1 | | +----------------------------+--------------------------+--------------------------------------------+ | cf-rabbitmq | cf-rabbitmq/64 | bosh-aws-xen-ubuntu-trusty-go_agent/2855 | +----------------------------+--------------------------+--------------------------------------------+ | cf-redis | cf-redis/309+dev.2 | bosh-aws-xen-ubuntu-trusty-go_agent/2855 | +----------------------------+--------------------------+--------------------------------------------+ | console-errand | push-console-release/207 | bosh-aws-xen-ubuntu-trusty-go_agent/2865 | +----------------------------+--------------------------+--------------------------------------------+ | mysql-mysql | cf-mysql/16 | bosh-aws-xen-ubuntu-trusty-go_agent/2719.3 | +----------------------------+--------------------------+--------------------------------------------+ | prod-cloudfoundry | cf/194 | bosh-aws-xen-ubuntu-trusty-go_agent/2865 | +----------------------------+--------------------------+--------------------------------------------+ | r4-logstash14-services-aws | docker/9 | bosh-aws-xen-ubuntu-trusty-go_agent/2855 | +----------------------------+--------------------------+--------------------------------------------+ | r4-riak-cs | cf-riak-cs/7 | bosh-aws-xen-ubuntu-trusty-go_agent/2719.3 | +----------------------------+--------------------------+--------------------------------------------+

Deployments total: 9 Download a BOSH manifest $ bosh download manifest r4-riak-cs r4-riak-cs.yml Deployment manifest saved to `r4-riak-cs.yml' Perform Cloud Health Check $ bosh cck Performing cloud check...

Processing deployment manifest

Director task 1003 Started scanning 5 vms Started scanning 5 vms > Checking VM states. Done (00:00:00) Started scanning 5 vms > 5 OK, 0 unresponsive, 0 missing, 0 unbound, 0 out of sync. Done (00:00:00) Done scanning 5 vms (00:00:00)

Started scanning 4 persistent disks
Started scanning 4 persistent disks > Looking for inactive disks. Done (00:00:00)
Started scanning 4 persistent disks > 4 OK, 0 missing, 0 inactive, 0 mount-info mismatch. Done (00:00:00)
   Done scanning 4 persistent disks (00:00:00)

Task 1003 done

Started 2015-03-28 18:39:50 UTC Finished 2015-03-28 18:39:50 UTC Duration 00:00:00

Scan is complete, checking if any problems found... No problems found